package com.llf.Blog.Service;

import com.llf.Blog.Pojo.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llf
 * @since 2021-08-07
 */
public interface CommentService extends IService<Comment> {
    List<Comment> getCommentByBlogID( Long id );
    Comment getCommentByParentCommentId(  Long parentCommentId);
    int insertComment(Comment comment);
    int deleteComment(Long id);
}
